package net.lab1024.sa.admin.module.business.exam.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 课程分类 实体类
 *
 * @Author AKITA
 * @Date 2025-06-06 11:33:42
 * @Copyright AKITA
 */

@Data
@TableName("examrom")
public class ExamromEntity {

    @TableId(type = IdType.AUTO)
    private Long docEntry;
    private Long objId;
    private String objName;
    private String docStatus;
    private Integer absId;
    private boolean approved;
    private String remark;
    @Version
    private Integer version;
    @TableField(fill = FieldFill.INSERT)
    private Long createById;
    @TableField(fill = FieldFill.INSERT)
    private String createBy;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;


    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateById;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateBy;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    private String romName;
    private String thumbnail;
    private String romFree;
    private Long baseEntry;
    private LocalDateTime beginDate;
    private LocalDateTime endDate;
    private String fobExam;
    private Integer examNum;
    private String showScore;
    private Long paperId;
    private String paperName;
    private BigDecimal totScore;

    @TableField(exist = false)
    private List<ExamromaEntity> lista;
    @TableField(exist = false)
    private List<ExamrombEntity> listb;
    @TableField(exist = false)
    private ExamromaEntity examroma;
    @TableField(exist = false)
    private PaperEntity paper;
}
